package com.cart;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Constants implements Serializable {
        
        /**
         * 
         */
        private static final long serialVersionUID = 1L;
        public static List<ItemTo> itemList = initialize();
     
        public static List<ItemTo> getItemList() {
                return itemList;
        }

        public static void setItemList(List<ItemTo> itemList) {
                Constants.itemList = itemList;
        }

       
        
        public static List<ItemTo> initialize(){
        	itemList = new ArrayList<ItemTo>();
        	for(int i=0; i<5; i++){
                itemList.add(new ItemTo(itemList.size()+1));
            }
        	return itemList;
        }
        
        
}